define(function(require,exports,module){
    app = require('/public/js/myservice/singlepage/main');
    require('/public/js/myservice/contract/contract-ctrl');
    app.config(['$routeProvider',
        function ($routeProvider) {
            $routeProvider
                .when("/", {
                    template: '<div><h2>Route</h2></div>', // dummy example
                    controller: function($scope){

                    }
                })
                .when('/contract',{
                    templateUrl:'contract/list.html',
                    controller:'contractListCtrl',
                    resolve:{'test':function(){return {name:'333334444'}}}
                })
                .when('/authorize',{
                    templateUrl:'authorize/list.html'
                })
                .otherwise({redirectTo: '/home'});

        }]);

});
